/** FASSIT (Forms of Selective Attention in Intelligent Transportation Systems)
 * Computational Creativity and Digital Media
 * Cognitive and Media Systems Group
 * Centre for Informatics and Systems of the University of Coimbra (CISUC)
 *
 * Copyright (c) 2010-2013 University of Coimbra, Portugal
 * All rights reserved.
 */
package poi.Surprise;

/**
 * This class defines the SurprisePrice object
 * 
 * @author Hernani Costa
 * @version 0.1 date: 19/11/2012
 */
public class SurprisePrice {
	private double cheap, average, expensive;

	/**
	 * ------------------------------------------------------------------------
	 * Constructor class
	 * ------------------------------------------------------------------------
	 * 
	 * @param cheap
	 * @param average
	 * @param expensive
	 */
	public SurprisePrice(double cheap, double average, double expensive) {
		this.cheap = cheap;
		this.average = average;
		this.expensive = expensive;
	}

	// ------------------------------------------------------------------------
	// ------------------------GETs and SETs-----------------------------------
	// ------------------------------------------------------------------------
	public double getCheap() {
		return cheap;
	}

	public double getAverage() {
		return average;
	}

	public double getExpensive() {
		return expensive;
	}

	/**
	 * ------------------------------------------------------------------------
	 * Returns a String with the Surprise's Price
	 * ------------------------------------------------------------------------
	 */
	public String to_String() {
		String info = String.format(
				"Surprise-Price[Cheap=%f, Average=%f, Expensive=%f",
				getCheap(), getAverage(), getExpensive());

		info += "]";
		return info;
	}
}
